package com.ubmap.tube;

public class TubeWebInput {

	public String getQ() {
		return q;
	}

	public void setQ(String q) {
		this.q = q;
	}

	public GeoCodeRequest getGeoCodeRequest() {
		GeoCodeRequest geoCodeRequest = this.geoCodeRequest;
		if( geoCodeRequest == null ) {
			geoCodeRequest = GeoCodeRequest.newGeoCodeRequest();
			this.geoCodeRequest = geoCodeRequest;
		}
		geoCodeRequest.setQ( this.getQ() );
		return geoCodeRequest;
	}

	private String q = ""; // map address
	private transient GeoCodeRequest geoCodeRequest = null;

}
